package com.example.nio.commons;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 用户
 */
@SuppressWarnings("serial")
@NoArgsConstructor
@Data
@Accessors(chain = true)
public class User {
	private String openId;//用户名id
	private String headimgurl;//头像
	private String nickname;//昵称
	private Date addTime;  //进队时间
	private long overTime;//超时时间
	private Integer messageSource;
	// 等待队列时发送的内容
	private ChatMessage message;
}
